package com.chianghao.qyt.i18n;

import com.chianghao.qyt.SysOperationAppDefinition;
import com.chianghao.frame.core.language.ILanguageKey;

public enum SysOperationLanguage implements ILanguageKey {


    ACCOUNT_NOT_EXIST("账号不存在！"),
    PARAM_ACCOUNT_NULL("参数账号不能为空！"),
    PARAM_PASSWORD_NULL("参数密码不能为空"),
    PASSWORD_ERROR("密码错误！"),
    TWO_PASSWORD_NOT_EQUALS("两次密码不一致"),
    OLD_PASSWORD_ERROR("旧密码错误"),
    ACCOUNT_EXIST("账号已经存在"),
    PARAM_NULL("参数为空！"),
    ENTITY_NOT_EXIST("对象实体不存在");


    private SysOperationLanguage(String defaultValue){
        this.defaultValue = defaultValue;
    }

    private String key;

    private String defaultValue;



    @Override
    public String getSystemName() {
        return SysOperationAppDefinition.APP_NAME;
    }

    @Override
    public String getVersion() {
        return "1.0.0";
    }

    @Override
    public String getGroupName() {
        return ILanguageKey.super.getGroupName();
    }

    @Override
    public String getKey() {
        return this.name();
    }

    @Override
    public String getDefaultValue() {
        return this.defaultValue;
    }
}
